package com.demo.server.mapper;

import java.util.List;

import com.demo.server.entity.Hospital;
import com.demo.server.entity.dto.HospitalDto;

public interface HospitalMapper {
    int deleteByPrimaryKey(String id);

    int insert(Hospital row);

    int insertSelective(Hospital row);

    Hospital selectByPrimaryKey(String id);
    
    Hospital selectByCode(String code);
    
    List<Hospital> select(HospitalDto row);

    int updateByPrimaryKeySelective(Hospital row);

    int updateByPrimaryKey(Hospital row);
}